<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common-app/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar">本申请所附材料清单</div>
        <input id='attach_nature_value' type='hidden' value='<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value" />'>
        <c:set var="nature_value" scope="page"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value" /></c:set>
        <c:set var="template">无锡市科技计划项目可行性研究报告编写要求.doc</c:set>
		<c:set var="status" scope="page"><x:out select="$xmlData/data/proposal/status" /></c:set>
        <input id='pass_files' name="proposal/pass_files" type='hidden' value='<x:out select="$xmlData/data/proposal/pass_files" />'>
		<table id="prpContent_upload" label="附件" border="0" cellspacing="0" cellpadding="0" class="table01 t_css" style="*border-bottom: #a1c0dc 1px solid;">
				<thead>
		<tr>
			<c:choose>
				<c:when test="${status==10}">
					<c:set var="colspanVar" scope="page">7</c:set>
					<c:set var="widthVar1" scope="page">7</c:set>
					<c:set var="widthVar2" scope="page">30</c:set>
					<c:set var="widthVar3" scope="page">7</c:set>
					<c:set var="widthVar4" scope="page">25</c:set>
					<c:set var="widthVar5" scope="page">10</c:set>
				</c:when>
				<c:otherwise>
					<c:set var="colspanVar" scope="page">8</c:set>
					<c:set var="widthVar1" scope="page">8</c:set>
					<c:set var="widthVar2" scope="page">50</c:set>
					<c:set var="widthVar3" scope="page">10</c:set>
					<c:set var="widthVar4" scope="page">25</c:set>
					<c:set var="widthVar5" scope="page">10</c:set>
				</c:otherwise>
			</c:choose>
			<td colspan="${colspanVar}"><strong>注意事项：</strong><br />
				1.下表附件，请按照附件文件的要求，每条记录以一个文件形式上传，如果有多个文件则请先合并为一个文件后再上传。<br>
				2.每个附件材料的复印件或者原件，以彩色扫描或者拍照的形式，确保足够清晰、可辨，否则将影响单位信息的审核，甚至专项资金的审批拨付。<br>
				3.【会计报表、国地税完税证明、财务审计报告或财务决算报表或验资报告】三类附件，系统根据上传时间自动选择由单位管理员和申报人分别上传的最新附件文件。<br>
				4.递交纸质材料时，提供系统打印的申请书纸质文件，连同以上附件材料（一式三份，A4规格，正反面打印，附有目录及页码，胶装成册），签字盖章后报送无锡市经济促进局。<br>
				5.递交纸质材料时，区经济促进局校验以上附件材料的原件。<br></td>
		</tr>
		<tr>
			<th width="${widthVar1}%">序号</th>
			<th width="${widthVar2}%">附件名称</th>
			<th width="${widthVar3}%">是否必备材料</th>
			<th width="10%" <c:if test="${status!=10}">style="display:none"</c:if> >是否符合条件</th>
<th nowrap width="23%" <c:if test="${status!=10}">style="display:none"</c:if> >上次上传记录</th>
			<th width="${widthVar4}%">下载</th>
			<th width="${widthVar5}%">操作</th>
		</tr>
	</thead>
				<tbody>
				
				<tr>
					    <td style="text-align:center">
					        <span id='attach_seq1'>1</span>
					    </td>
					    <td>
					        <span name='content/name1'>
				                 <x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=8]/attachtype_name" />
				            </span>
				        </td>
					   
					           <td style="text-align:center"><span name="content/berif1">否</span></td>
					       
					    
					   <td <c:if test="${status!=10}">style="text-align:center;display:none"</c:if>>
					        <span name='content/berif_his1' id='berif_his1'></span>
					    </td>
					    <td <c:if test="${status!=10}">style="display:none"</c:if>>
					    <div id="uploadsuccess_his1" style="display:none">
					        <c:set var="file_code_his1" scope="page"><x:out select="$xmlData/data/content/file_code_rehis1" /></c:set>
					        <c:choose>
					           <c:when test="${not empty file_code_his1 || status!=10 }">
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his1" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his1"><x:out select="$xmlData/data/content/file_name_his1" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his1"><x:out select="$xmlData/data/content/file_date_his1" /></span>) 
				                    <span name="content/file_code_his1" style="display:none"><x:out select="$xmlData/data/content/file_code_his1" /></span>
					            <input type="hidden" name="content/file_code_rehis1"
				                    value="<x:out select="$xmlData/data/content/file_code_rehis1" />"/>
					           </c:when>
					           <c:otherwise>
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code1" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his1"><x:out select="$xmlData/data/content/file_name1" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his1"><x:out select="$xmlData/data/content/file_date1" /></span>) 
				                    <span name="content/file_code_his1" style="display:none"><x:out select="$xmlData/data/content/file_code1" /></span>
					            <input type="hidden" name="content/file_code_rehis1"
				                    value="<x:out select="$xmlData/data/content/file_code1" />"/>
					           </c:otherwise>
					        </c:choose>   
					        
 						</div> 
					        <!-- 记住上一次附件内容 -->
					        <c:set var="file_code_pre1"><x:out select="$xmlData/data/content/file_code_pre1" /></c:set>
					        <div id="uploadsuccess_pre1" <c:if test="${file_code_pre1==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid_pre1" name="content/file_code_pre1" value="<x:out select="$xmlData/data/content/file_code_pre1" />"/>
				                <a id="content_downLoadFile_pre1" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_pre1" />" 
				                   class="link_x" >
				                   <span name="content/file_name_pre1" id='file_name_pre1'>
				                      <x:out select="$xmlData/data/content/file_name_pre1" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_pre1"><x:out select="$xmlData/data/content/file_date_pre1" /></span>)            
					        </div>  
					    </td>
					    
					    <td>
                            <c:set var="file_code1"><x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=8]/file_code" /></c:set>
					        <div id="uploadsuccess1" <c:if test="${file_code1==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid1" value="<x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=8]/entity_file_name" />"/>
				                <a id="content_downLoadFile1" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=8]/file_code" />" 
				                   class="link_x" >
				                   <span name="content/file_name1" id='file_name1'>
				                      <x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=8]/entity_file_name" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date1"><x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=8]/file_date" /></span>)         
					            <a href="###" class="link_x" onclick="delContent('prpContent_upload','1')">删除</a>
					        </div> 
                        </td>
					    <td style="text-align:center">
					        <div id="file1">
					        <input type="file" name="filedata" />
					        <input type="hidden" name="content/file_code1" id="content_file_code1"
					        value="<x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=8]/file_code" />" />
					        <input type="hidden" id="recontent_file_code1" value="<x:out select="$xmlData/data/content/file_code1" />" />
					        <input type="hidden" id="recontent_file_name1" value="<x:out select="$xmlData/data/content/file_name1" />" />
					        <input type="hidden" id="recontent_file_date1" value="<x:out select="$xmlData/data/content/file_date1" />" />
					        <input type="hidden" name="content/file_flag1" id="recontent_file_flag1" value="<x:out select="$xmlData/data/content/file_flag1" />" />
					        </div>              
					    </td>
					</tr>
					
					<!-- 2 -->
					<tr>
					    <td style="text-align:center">
					        <span id='attach_seq2'>2</span>
					    </td>
					    <td>
					        <span name='content/name2'>
				                 <x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=10]/attachtype_name" />
				            </span>
				        </td>
					    <c:choose>
					        <c:when test="${fn:substring(nature_value,0,1)=='A' }">
					           <td style="text-align:center"><span name="content/berif2">是</span></td>
					        </c:when>
					        <c:otherwise>
					            <td style="text-align:center"><span name="content/berif2">否</span></td>
					        </c:otherwise>
					    </c:choose>
					    
					   <td <c:if test="${status!=10}">style="text-align:center;display:none"</c:if>>
					        <span name='content/berif_his2' id='berif_his2'></span>
					    </td>
					    <td <c:if test="${status!=10}">style="display:none"</c:if>>
					    <div id="uploadsuccess_his2" style="display:none">
					        <c:set var="file_code_his2" scope="page"><x:out select="$xmlData/data/content/file_code_rehis2" /></c:set>
					        <c:choose>
					           <c:when test="${not empty file_code_his2 || status!=10 }">
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his2" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his2"><x:out select="$xmlData/data/content/file_name_his2" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his2"><x:out select="$xmlData/data/content/file_date_his2" /></span>) 
				                    <span name="content/file_code_his2" style="display:none"><x:out select="$xmlData/data/content/file_code_his2" /></span>
					            <input type="hidden" name="content/file_code_rehis2"
				                    value="<x:out select="$xmlData/data/content/file_code_rehis2" />"/>
					           </c:when>
					           <c:otherwise>
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code2" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his2"><x:out select="$xmlData/data/content/file_name2" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his2"><x:out select="$xmlData/data/content/file_date2" /></span>) 
				                    <span name="content/file_code_his2" style="display:none"><x:out select="$xmlData/data/content/file_code2" /></span>
					            <input type="hidden" name="content/file_code_rehis2"
				                    value="<x:out select="$xmlData/data/content/file_code2" />"/>
					           </c:otherwise>
					        </c:choose>   
					        </div>
					          <!-- 记住上一次附件内容 -->
					         <c:set var="file_code_pre2"><x:out select="$xmlData/data/content/file_code_pre2" /></c:set>
					         <div id="uploadsuccess_pre2" <c:if test="${file_code_pre2==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid_pre2" name="content/file_code_pre2" value="<x:out select="$xmlData/data/content/file_code_pre2" />"/>
				                <a id="content_downLoadFile_pre2" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_pre2" />" 
				                   class="link_x" >
				                   <span name="content/file_name_pre2" id='file_name_pre2'>
				                      <x:out select="$xmlData/data/content/file_name_pre2" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_pre2"><x:out select="$xmlData/data/content/file_date_pre2" /></span>)            
					        </div>   
					    </td>
					    
					    <td>
                            <c:set var="file_code2"><x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=10]/file_code" /></c:set>
					        <div id="uploadsuccess2" <c:if test="${file_code2==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid2" value="<x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=10]/entity_file_name" />"/>
				                <a id="content_downLoadFile2" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=10]/file_code" />" 
				                   class="link_x" >
				                   <span name="content/file_name2" id='file_name2'>
				                      <x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=10]/entity_file_name" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date2"><x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=10]/file_date" /></span>)         
					            <a href="###" class="link_x" onclick="delContent('prpContent_upload','2')">删除</a>
					        </div> 
                        </td>
					    <td style="text-align:center">
					        <div id="file2">
					        <input type="file" name="filedata" />
					        <input type="hidden" name="content/file_code2" id="content_file_code2"
					        value="<x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=10]/file_code" />" />
					        <input type="hidden" id="recontent_file_code2" value="<x:out select="$xmlData/data/content/file_code2" />" />
					        <input type="hidden" id="recontent_file_name2" value="<x:out select="$xmlData/data/content/file_name2" />" />
					        <input type="hidden" id="recontent_file_date2" value="<x:out select="$xmlData/data/content/file_date2" />" />
					        <input type="hidden" name="content/file_flag2" id="recontent_file_flag2" value="<x:out select="$xmlData/data/content/file_flag2" />" />
					        </div>              
					    </td>
					</tr>
					
					
					<!-- 3 -->
					<tr>
					    <td style="text-align:center">
					        <span id='attach_seq3'>3</span>
					    </td>
					    <td>
					        <span name='content/name3'>
				                 <x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=11]/attachtype_name" />
				            </span>
				        </td>
					    
					           <td style="text-align:center"><span name="content/berif3">是</span></td>
					        
					   <td <c:if test="${status!=10}">style="text-align:center;display:none"</c:if>>
					        <span name='content/berif_his3' id='berif_his3'></span>
					    </td>
					    <td <c:if test="${status!=10}">style="display:none"</c:if>>
					    <div id="uploadsuccess_his3" style="display:none">
					        <c:set var="file_code_his3" scope="page"><x:out select="$xmlData/data/content/file_code_rehis3" /></c:set>
					        <c:choose>
					           <c:when test="${not empty file_code_his3 || status!=10 }">
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his3" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his3"><x:out select="$xmlData/data/content/file_name_his3" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his3"><x:out select="$xmlData/data/content/file_date_his3" /></span>) 
				                    <span name="content/file_code_his3" style="display:none"><x:out select="$xmlData/data/content/file_code_his3" /></span>
					            <input type="hidden" name="content/file_code_rehis3"
				                    value="<x:out select="$xmlData/data/content/file_code_rehis3" />"/>
					           </c:when>
					           <c:otherwise>
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code3" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his3"><x:out select="$xmlData/data/content/file_name3" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his3"><x:out select="$xmlData/data/content/file_date3" /></span>) 
				                    <span name="content/file_code_his3" style="display:none"><x:out select="$xmlData/data/content/file_code3" /></span>
					            <input type="hidden" name="content/file_code_rehis3"
				                    value="<x:out select="$xmlData/data/content/file_code3" />"/>
					           </c:otherwise>
					        </c:choose>    
					        </div>   
					        <!-- 记住上一次附件内容 -->
					        <c:set var="file_code_pre3"><x:out select="$xmlData/data/content/file_code_pre3" /></c:set>
					        <div id="uploadsuccess_pre3" <c:if test="${file_code_pre3==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid_pre3" name="content/file_code_pre3" value="<x:out select="$xmlData/data/content/file_code_pre3" />"/>
				                <a id="content_downLoadFile_pre3" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_pre3" />" 
				                   class="link_x" >
				                   <span name="content/file_name_pre3" id='file_name_pre3'>
				                      <x:out select="$xmlData/data/content/file_name_pre3" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_pre3"><x:out select="$xmlData/data/content/file_date_pre3" /></span>)            
					        </div> 
					    </td>
					    
					    <td>
                            <c:set var="file_code3"><x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=11]/file_code" /></c:set>
					        <div id="uploadsuccess3" <c:if test="${file_code3==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid3" value="<x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=11]/entity_file_name" />"/>
				                <a id="content_downLoadFile3" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=11]/file_code" />" 
				                   class="link_x" >
				                   <span name="content/file_name3" id='file_name3'>
				                      <x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=11]/entity_file_name" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date3"><x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=11]/file_date" /></span>)         
					            <a href="###" class="link_x" onclick="delContent('prpContent_upload','3')">删除</a>
					        </div> 
                        </td>
					    <td style="text-align:center">
					        <div id="file3">
					        <input type="file" name="filedata" />
					        <input type="hidden" name="content/file_code3" id="content_file_code3"
					        value="<x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=11]/file_code" />" />
					        <input type="hidden" id="recontent_file_code3" value="<x:out select="$xmlData/data/content/file_code3" />" />
					        <input type="hidden" id="recontent_file_name3" value="<x:out select="$xmlData/data/content/file_name3" />" />
					        <input type="hidden" id="recontent_file_date3" value="<x:out select="$xmlData/data/content/file_date3" />" />
					        <input type="hidden" name="content/file_flag3" id="recontent_file_flag3" value="<x:out select="$xmlData/data/content/file_flag3" />" />
					        </div>              
					    </td>
					</tr>
					
					
					<tr>
					    <td style="text-align:center">
					        <span id='attach_seq4'>4</span>
					    </td>
					    <td>
					        <span name='content/name4'>
				                          由工商部门最近6个月内出具的包括股东构成等基本情况的信用查询单
				            </span>
				        </td>
					    <td style="text-align:center"><span name="content/berif4">否</span></td>
					    
					  <td <c:if test="${status!=10}">style="text-align:center;display:none"</c:if>>
					        <span name='content/berif_his4' id='berif_his4'></span>
					    </td>
					    <td <c:if test="${status!=10}">style="display:none"</c:if>>
					    <div id="uploadsuccess_his4" style="display:none">
					        <c:set var="file_code_his4" scope="page"><x:out select="$xmlData/data/content/file_code_rehis4" /></c:set>
					        <c:choose>
					           <c:when test="${not empty file_code_his4 || status!=10}">
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his4" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his4"><x:out select="$xmlData/data/content/file_name_his4" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his4"><x:out select="$xmlData/data/content/file_date_his4" /></span>) 
				                    <span name="content/file_code_his4" style="display:none"><x:out select="$xmlData/data/content/file_code_his4" /></span>
					          <input type="hidden" name="content/file_code_rehis4"
				                    value="<x:out select="$xmlData/data/content/file_code_rehis4" />"/>
					           </c:when>
					           <c:otherwise>
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code4" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his4"><x:out select="$xmlData/data/content/file_name4" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his4"><x:out select="$xmlData/data/content/file_date4" /></span>) 
				                    <span name="content/file_code_his4" style="display:none"><x:out select="$xmlData/data/content/file_code4" /></span>
					           <input type="hidden" name="content/file_code_rehis4"
				                    value="<x:out select="$xmlData/data/content/file_code4" />"/>
					           </c:otherwise>
					        </c:choose> 
					        </div>
					<!-- 记住上一次附件内容 -->
					        <c:set var="file_code_pre4"><x:out select="$xmlData/data/content/file_code_pre4" /></c:set>
					        <div id="uploadsuccess_pre4" <c:if test="${file_code_pre4==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid_pre4" name="content/file_code_pre4" value="<x:out select="$xmlData/data/content/file_code_pre4" />"/>
				                <a id="content_downLoadFile_pre4" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_pre4" />" 
				                   class="link_x" >
				                   <span name="content/file_name_pre4" id='file_name_pre4'>
				                      <x:out select="$xmlData/data/content/file_name_pre4" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_pre4"><x:out select="$xmlData/data/content/file_date_pre4" /></span>)            
					        </div>     
					    </td>
					    
					    <td>
                            <c:set var="file_code4"><x:out select="$xmlData/data/content/file_code4" /></c:set>
					        <div id="uploadsuccess4"  <c:if test="${file_code4==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid4" value="<x:out select="$xmlData/data/content/file_name4" />"/>
				                <a id="content_downLoadFile4" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code4" />" 
				                   class="link_x" >
				                   <span name="content/file_name4">
				                      <x:out select="$xmlData/data/content/file_name4" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date4"><x:out select="$xmlData/data/content/file_date4" /></span>) 
				                <a href="###" class="link_x" onclick="delContent('prpContent_upload','4')">删除</a>
					        </div> 
                        </td>
                        <td style="text-align:center">
                            <div  id="file4">
					        <input type="file" name="filedata" />
					        <input type="hidden" name="content/file_code4" id="content_file_code4" 
					        label="请上传第2个附件文件"  
					        value="<x:out select="$xmlData/data/content/file_code4" />" />
					        </div>
					    </td>
					</tr>
					
					
					
					<tr>
					    <td style="text-align:center">
					        <span id='attach_seq5'>5</span>
					    </td>
					    <td>
					        <span name='content/name5'>
				                      企业与银行签订的项目出口信保保单抵押贷款合同、借款借据
				            </span>
				        </td>
					    <td style="text-align:center"><span name="content/berif5">是</span></td>
					    
					  <td <c:if test="${status!=10}">style="text-align:center;display:none"</c:if>>
					        <span name='content/berif_his5' id='berif_his5'></span>
					    </td>
					    <td <c:if test="${status!=10}">style="display:none"</c:if>>
					    <div id="uploadsuccess_his5" style="display:none">
					        <c:set var="file_code_his5" scope="page"><x:out select="$xmlData/data/content/file_code_rehis5" /></c:set>
					        <c:choose>
					           <c:when test="${not empty file_code_his5 || status!=10}">
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his5" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his5"><x:out select="$xmlData/data/content/file_name_his5" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his5"><x:out select="$xmlData/data/content/file_date_his5" /></span>) 
				                    <span name="content/file_code_his5" style="display:none"><x:out select="$xmlData/data/content/file_code_his5" /></span>
					          <input type="hidden" name="content/file_code_rehis5"
				                    value="<x:out select="$xmlData/data/content/file_code_rehis5" />"/>
					           </c:when>
					           <c:otherwise>
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code5" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his5"><x:out select="$xmlData/data/content/file_name5" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his5"><x:out select="$xmlData/data/content/file_date5" /></span>) 
				                    <span name="content/file_code_his5" style="display:none"><x:out select="$xmlData/data/content/file_code5" /></span>
					           <input type="hidden" name="content/file_code_rehis5"
				                    value="<x:out select="$xmlData/data/content/file_code5" />"/>
					           </c:otherwise>
					        </c:choose>    
					        </div> 
					        <!-- 记住上一次附件内容 -->
					        <c:set var="file_code_pre5"><x:out select="$xmlData/data/content/file_code_pre5" /></c:set>
					        <div id="uploadsuccess_pre5" <c:if test="${file_code_pre5==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid_pre5" name="content/file_code_pre5" value="<x:out select="$xmlData/data/content/file_code_pre5" />"/>
				                <a id="content_downLoadFile_pre5" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_pre5" />" 
				                   class="link_x" >
				                   <span name="content/file_name_pre5" id='file_name_pre5'>
				                      <x:out select="$xmlData/data/content/file_name_pre5" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_pre5"><x:out select="$xmlData/data/content/file_date_pre5" /></span>)            
					        </div>  
					    </td>
					    
					    <td>
                            <c:set var="file_code5"><x:out select="$xmlData/data/content/file_code5" /></c:set>
					        <div id="uploadsuccess5"  <c:if test="${file_code5==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid5" value="<x:out select="$xmlData/data/content/file_name5" />"/>
				                <a id="content_downLoadFile5" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code5" />" 
				                   class="link_x" >
				                   <span name="content/file_name5">
				                      <x:out select="$xmlData/data/content/file_name5" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date5"><x:out select="$xmlData/data/content/file_date5" /></span>) 
				                <a href="###" class="link_x" onclick="delContent('prpContent_upload','5')">删除</a>
					        </div> 
                        </td>
                        <td style="text-align:center">
                            <div  id="file5">
					        <input type="file" name="filedata" />
					        <input type="hidden" name="content/file_code5" id="content_file_code5" 
					        value="<x:out select="$xmlData/data/content/file_code5" />" />
					        </div>
					    </td>
					</tr>
					
					
					
					
					<tr>
					    <td style="text-align:center">
					        <span id='attach_seq6'>6</span>
					    </td>
					    <td>
					        <span name='content/name6'>
				                       企业付息情况汇报表
				            </span>
				        </td>
					    <td style="text-align:center"><span name="content/berif6">是</span></td>
					    
					  <td <c:if test="${status!=10}">style="text-align:center;display:none"</c:if>>
					        <span name='content/berif_his6' id='berif_his6'></span>
					    </td>
					    <td <c:if test="${status!=10}">style="display:none"</c:if>>
					    <div id="uploadsuccess_his6" style="display:none">
					        <c:set var="file_code_his6" scope="page"><x:out select="$xmlData/data/content/file_code_rehis6" /></c:set>
					        <c:choose>
					           <c:when test="${not empty file_code_his6 || status!=10}">
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his6" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his6"><x:out select="$xmlData/data/content/file_name_his6" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his6"><x:out select="$xmlData/data/content/file_date_his6" /></span>) 
				                    <span name="content/file_code_his6" style="display:none"><x:out select="$xmlData/data/content/file_code_his6" /></span>
					          <input type="hidden" name="content/file_code_rehis6"
				                    value="<x:out select="$xmlData/data/content/file_code_rehis6" />"/>
					           </c:when>
					           <c:otherwise>
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code6" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his6"><x:out select="$xmlData/data/content/file_name6" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his6"><x:out select="$xmlData/data/content/file_date6" /></span>) 
				                    <span name="content/file_code_his6" style="display:none"><x:out select="$xmlData/data/content/file_code6" /></span>
					           <input type="hidden" name="content/file_code_rehis6"
				                    value="<x:out select="$xmlData/data/content/file_code6" />"/>
					           </c:otherwise>
					        </c:choose>    
					        </div>
					        <!-- 记住上一次附件内容 -->
					        <c:set var="file_code_pre6"><x:out select="$xmlData/data/content/file_code_pre6" /></c:set>
					        <div id="uploadsuccess_pre6" <c:if test="${file_code_pre6==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid_pre6" name="content/file_code_pre6" value="<x:out select="$xmlData/data/content/file_code_pre6" />"/>
				                <a id="content_downLoadFile_pre6" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_pre6" />" 
				                   class="link_x" >
				                   <span name="content/file_name_pre6" id='file_name_pre6'>
				                      <x:out select="$xmlData/data/content/file_name_pre6" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_pre6"><x:out select="$xmlData/data/content/file_date_pre6" /></span>)            
					        </div>  
					    </td>
					    
					    <td>
                            <c:set var="file_code6"><x:out select="$xmlData/data/content/file_code6" /></c:set>
					        <div id="uploadsuccess6"  <c:if test="${file_code6==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid6" value="<x:out select="$xmlData/data/content/file_name6" />"/>
				                <a id="content_downLoadFile6" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code6" />" 
				                   class="link_x" >
				                   <span name="content/file_name6">
				                      <x:out select="$xmlData/data/content/file_name6" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date6"><x:out select="$xmlData/data/content/file_date6" /></span>) 
				                <a href="###" class="link_x" onclick="delContent('prpContent_upload','6')">删除</a>
					        </div> 
                        </td>
                        <td style="text-align:center">
                            <div  id="file6">
					        <input type="file" name="filedata" />
					        <input type="hidden" name="content/file_code6" id="content_file_code6" 
					        value="<x:out select="$xmlData/data/content/file_code6" />" />
					        </div>
					    </td>
					</tr>
					
					
					<tr>
					    <td style="text-align:center">
					        <span id='attach_seq7'>7</span>
					    </td>
					    <td>
					        <span name='content/name7'>
				                       企业支付利息情况的财务凭据（利息单）（复印件加盖公章）
				            </span>
				        </td>
					    <td style="text-align:center"><span name="content/berif7">是</span></td>
					    
					  <td <c:if test="${status!=10}">style="text-align:center;display:none"</c:if>>
					        <span name='content/berif_his7' id='berif_his7'></span>
					    </td>
					    <td <c:if test="${status!=10}">style="display:none"</c:if>>
					    <div id="uploadsuccess_his7" style="display:none">
					        <c:set var="file_code_his7" scope="page"><x:out select="$xmlData/data/content/file_code_rehis7" /></c:set>
					        <c:choose>
					           <c:when test="${not empty file_code_his7 || status!=10}">
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his7" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his7"><x:out select="$xmlData/data/content/file_name_his7" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his7"><x:out select="$xmlData/data/content/file_date_his7" /></span>) 
				                    <span name="content/file_code_his7" style="display:none"><x:out select="$xmlData/data/content/file_code_his7" /></span>
					          <input type="hidden" name="content/file_code_rehis7"
				                    value="<x:out select="$xmlData/data/content/file_code_rehis7" />"/>
					           </c:when>
					           <c:otherwise>
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code7" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his7"><x:out select="$xmlData/data/content/file_name7" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his7"><x:out select="$xmlData/data/content/file_date7" /></span>) 
				                    <span name="content/file_code_his7" style="display:none"><x:out select="$xmlData/data/content/file_code7" /></span>
					           <input type="hidden" name="content/file_code_rehis7"
				                    value="<x:out select="$xmlData/data/content/file_code7" />"/>
					           </c:otherwise>
					        </c:choose>    
					        </div> 
					        
                            <!-- 记住上一次附件内容 -->
					        <c:set var="file_code_pre7"><x:out select="$xmlData/data/content/file_code_pre7" /></c:set>
					        <div id="uploadsuccess_pre7" <c:if test="${file_code_pre7==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid_pre7" name="content/file_code_pre7" value="<x:out select="$xmlData/data/content/file_code_pre7" />"/>
				                <a id="content_downLoadFile_pre7" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_pre7" />" 
				                   class="link_x" >
				                   <span name="content/file_name_pre7" id='file_name_pre7'>
				                      <x:out select="$xmlData/data/content/file_name_pre7" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_pre7"><x:out select="$xmlData/data/content/file_date_pre7" /></span>)            
					        </div>  
					    </td>
					    
					    <td>
                            <c:set var="file_code7"><x:out select="$xmlData/data/content/file_code7" /></c:set>
					        <div id="uploadsuccess7"  <c:if test="${file_code7==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid7" value="<x:out select="$xmlData/data/content/file_name7" />"/>
				                <a id="content_downLoadFile7" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code7" />" 
				                   class="link_x" >
				                   <span name="content/file_name7">
				                      <x:out select="$xmlData/data/content/file_name7" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date7"><x:out select="$xmlData/data/content/file_date7" /></span>) 
				                <a href="###" class="link_x" onclick="delContent('prpContent_upload','7')">删除</a>
					        </div> 
                        </td>
                        <td style="text-align:center">
                            <div  id="file7">
					        <input type="file" name="filedata" />
					        <input type="hidden" name="content/file_code7" id="content_file_code7" 
					        value="<x:out select="$xmlData/data/content/file_code7" />" />
					        </div>
					    </td>
					</tr>
					
					
					
					
					<tr>
					    <td style="text-align:center" name="content/seq0">
					         <span id='attach_seq0'>8</span>
					    </td>
			            <td>
				             <span name='content/name0'>
				                 <x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=1]/attachtype_name" />
				             </span>
				        </td>
			            <td style="text-align:center"><span name="content/berif0">是</span></td>
			            
			           <td <c:if test="${status!=10}">style="text-align:center;display:none"</c:if>>
					        <span name='content/berif_his0' id='berif_his0'></span>
					    </td>
					   <td <c:if test="${status!=10}">style="display:none"</c:if>>
					   <div id="uploadsuccess_his0" style="display:none">
					        <c:set var="file_code_his0" scope="page"><x:out select="$xmlData/data/content/file_code_rehis0" /></c:set>
					        <c:choose>
					           <c:when test="${not empty file_code_his0 || status!=10}">
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his0" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his0"><x:out select="$xmlData/data/content/file_name_his0" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his0"><x:out select="$xmlData/data/content/file_date_his0" /></span>) 
				                    <span name="content/file_code_his0" style="display:none"><x:out select="$xmlData/data/content/file_code_his0" /></span>
					          <input type="hidden" name="content/file_code_rehis0"
				                    value="<x:out select="$xmlData/data/content/file_code_rehis0" />"/>
					           </c:when>
					           <c:otherwise>
					                <a href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code0" />" 
				                      class="link_x" >
				                    <span name="content/file_name_his0"><x:out select="$xmlData/data/content/file_name0" /></span>
				                    </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_his0"><x:out select="$xmlData/data/content/file_date0" /></span>) 
				                    <span name="content/file_code_his0" style="display:none"><x:out select="$xmlData/data/content/file_code0" /></span>
					          <input type="hidden" name="content/file_code_rehis0"
				                    value="<x:out select="$xmlData/data/content/file_code0" />"/>
					           </c:otherwise>
					        </c:choose>    
					        </div> 
					        <!-- 记住上一次附件内容 -->
					        <c:set var="file_code_pre0"><x:out select="$xmlData/data/content/file_code_pre0" /></c:set>
					        <div id="uploadsuccess_pre0" <c:if test="${file_code_pre0==''}" >style="display:none" </c:if>>
					            <input type="hidden" id="fileNameHid_pre0" name="content/file_code_pre0" value="<x:out select="$xmlData/data/content/file_code_pre0" />"/>
				                <a id="content_downLoadFile_pre0" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_pre0" />" 
				                   class="link_x" >
				                   <span name="content/file_name_pre0" id='file_name_pre0'>
				                      <x:out select="$xmlData/data/content/file_name_pre0" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date_pre0"><x:out select="$xmlData/data/content/file_date_pre0" /></span>)            
					        </div> 
					    </td>
			            
					    <td>
					        <c:set var="file_code0"><x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=1]/file_code" /></c:set>
					        <c:if test="${not empty file_code0}">
					        <div id="uploadsuccess0">
					            <input type="hidden" id="fileNameHid2" value="<x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=1]/entity_file_name" />"/>
				                <a id="content_downLoadFile0" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=1]/file_code" />" 
				                   class="link_x" >
				                   <span name="content/file_name0">
				                      <x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=1]/entity_file_name" />
				                   </span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date0"><x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=1]/file_date" /></span>) 
					        </div>
					        </c:if>
                        </td>
					    <td style="text-align:center">
					        <div style="display:none" id="file0">
					        <input type="file" name="filedata" />
					        <input type="hidden" name="content/file_code0" id="content_file_code0" class="required"
					        value="<x:out select="$xmlData/data/org_attachs/org_attach[@sequence_no=1]/file_code" />" />
					        </div>
					                     管理员上传
					    </td>
					</tr>

				</tbody>
			</table>
		<br/>
		     <tr>
			    <td>
				   <cpt:helpTips key="attach_info" id="tipsId" ></cpt:helpTips><br>
			    </td>
		     <tr>
					
		</table>
	<script type="text/javascript">
			$(function(){
				if($('#prp_status').val()=='10'){
			  	 	initAttachCondition("prpContent_upload",$('#pass_files').val());
				}
			});
	</script>